package com.bdqn.pojo;

import java.util.Date;

/**
 * 系统角色
 *
 */
public class SysRole implements java.io.Serializable{
    private Integer id;                 //ID
    private String code;                //角色编码
    private String roleName;            //角色名称
    private Integer createdUserId;      //创建者
    private Date createdTime;           //创建时间
    private Integer updatedUserId;      //更新者
    private Date updatedTime;           //更新时间

    public SysRole() {
    }

    public SysRole(Integer id, String code, String roleName, Integer createdUserId, Date createdTime, Integer updatedUserId, Date updatedTime) {
        this.id = id;
        this.code = code;
        this.roleName = roleName;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
    }

    public SysRole(String code, String roleName, int createdUserId, Date createdTime) {
        this.id = id;
        this.code = code;
        this.roleName = roleName;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
    }

    public SysRole(int id, String roleName, Integer updatedUserId) {
        this.id = id;
        this.roleName = roleName;
        this.updatedUserId = updatedUserId;
    }

    public SysRole(String code, String roleName, Integer createdUserId) {
        this.code = code;
        this.roleName = roleName;
        this.createdUserId = createdUserId;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Integer getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Integer updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}
